package com.zhongwang.mms.gen.mapper;

import com.zhongwang.mms.gen.entity.TEmploy;
import com.zhongwang.mms.gen.entity.TEmployExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface TEmployMapper {
    long countByExample(TEmployExample example);

    int deleteByExample(TEmployExample example);

    int deleteByPrimaryKey(Integer empId);

    int insert(TEmploy record);

    int insertSelective(TEmploy record);

    List<TEmploy> selectByExample(TEmployExample example);

    TEmploy selectByPrimaryKey(Integer empId);

    int updateByExampleSelective(@Param("record") TEmploy record, @Param("example") TEmployExample example);

    int updateByExample(@Param("record") TEmploy record, @Param("example") TEmployExample example);

    int updateByPrimaryKeySelective(TEmploy record);

    int updateByPrimaryKey(TEmploy record);
}